public class Main {
    public static void main(String[] args) {

        MobileTelephone m = new MobileTelephone();
        SIM s1 = new SIMOfChinaMobile();
        m.useSIM(s1);
        m.print();

        SIM s2 = new SINOfChinaUnicom();
        m.useSIM(s2);
        m.print();

    }
}